get = (url, data) => {
  return new Promise((resolve, reject) => {
    $.ajax({
      url: url,
      data: data,
      success: (data) => {
        resolve(data)
      },
      error: (data) => {
        reject(data)
      }
    })
  })
}
